package com.ymatou.iapi.activitymanage.testcase;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.iapi.activitymanage.parameter.getApprovedProductListBean;
import com.ymatou.iapi.activitymanage.service.getApprovedProductListCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.*;
import com.ymt.utils.tag.*;
/**
*运营后台审核通过商品列表
*FreeMaker Template自动生成代码
*/
@TestSuite
public class Ts_getApprovedProductList{
	private static getApprovedProductListBean bean;
	private static getApprovedProductListCall call;
	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("运营后台审核通过商品列表");
	}

	@Before
	public void caseUp() {
		bean=new getApprovedProductListBean();
		call=new getApprovedProductListCall();
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(call.getOpurl());
	}

	@After
	public void caseDown() {
		Logger.end();
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_getApprovedProductList_001() {
		Logger.start(true,"正例-运营后台审核通过商品列表");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			call.setData(bean);
			call.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
}